
<% if @magic_link.for_sign_in? %>
  <h1 class="title">Fizzy verification code</h1>
  <p class="subtitle">Please enter this 6-character verification code on the Fizzy sign-in page:</p>
<% else %>
  <h1 class="title">Welcome to Fizzy!</h1>
  <p class="subtitle">Please enter this 6-character verification code on the Fizzy sign-up page to create your new account:</p>
<% end %>

<strong class="txt-large"><%= @magic_link.code %></strong>

<p>This code will work for <%= distance_of_time_in_words(MagicLink::EXPIRATION_TIME) %>.</p>

<p class="footer">Need help? <%= mail_to "support@fizzy.do", "Send us an email"%>.
</p>

